﻿@model GameSchool.Models.Announcement
<ul class="breadcrumb">  
	<li><a href="/Home">Forsíða</a> <span class="divider">></span></li>  
	<li><a href="/Game/Games">Leikir</a> <span class="divider">></span></li>
	<li class="active">Skrá tilkynningu</li>
</ul>


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="well">
	@using (Html.BeginForm())
	{
		@Html.ValidationSummary(true)
		<fieldset>
			<legend>Skrá tilkynningu</legend>
			<br />
			<div class="editor-field">
				@Html.Hidden("GameID", ViewData["currLevel"])
			</div>
			<div class="editor-label">
				@Html.Label("Titill")
			</div>
			<div class="editor-field">
				@Html.EditorFor(model => model.Title)
				@Html.ValidationMessageFor(model => model.Title)
			</div>
			<div class="editor-label">
				@Html.Label("Tilkynning")
			</div>
			<div class="editor-field">
				@Html.TextAreaFor(model => model.Announcements)
				@Html.ValidationMessageFor(model => model.Announcements)
			</div>
			<p>
				<div class="form-actions">
					<input type="submit" class="btn btn-primary" value="Vista">
				</div>
			</p>
		</fieldset>
	}
</div>

